package com.qqzone.dao;

import com.qqzone.pojo.Reply;
import com.qqzone.pojo.Topic;

import java.util.List;

/**
 * @author Yang
 * @creat 20:31 2022/8/24
 * @sice 1.8
 */

public interface ReplyDAO {
    //获取指定 TopicId 的回复类
    List<Reply> getReplyList(Topic topic);
    //添加回复
    void addReply(Reply reply);
    //删除回复
    void delReply(Integer id);
    //根据id获取指定的Reply
    Reply getReplyByReplyId(Integer ReplyId);
}
